<?php
namespace app\common\validate;

/**
* 设置模型
*/
class PetsLevel extends Base{

	protected $rule = array(
		'name'   => 'require|length:1,30',
        'value'  => 'require|number'
	);
	protected $message = array(
		'name.require'   => '名称必须！',
		'value.require'   => '成长值必须！',
        'value.number'   => '成长值必须是数字！',
	);
}
